package cn.dm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
//启用Eureka的服务注册与发现
@EnableFeignClients
//开启扫描项目包下的@FeignClient注解
public class DmItemConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DmItemConsumerApplication.class, args);
    }

}
